Completed
Push — master ( 34f5de...9cf608 )
by greg
45s
created

nsertDebugtoolUtilities()ꞌ)   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 1
b 0
f 0
1
var chai = require('chai');
2
var sinonChai = require('sinon-chai')
3
var expect = chai.expect
4
chai.use(sinonChai)
5
var sinon = require('sinon');
6
var path = require('path');
7
8
var config = require('../../../src/cli').config
9
config.set({root: path.join(process.cwd(), 'test', 'fixtures')})
10
11
var cmsTemplates = require('../../../src/cli').cmsTemplates;
12
13
describe('cmsTemplates', function() {
14
  /**
15
   * cmsTemplates.insertDebugtoolUtilities
16
   * 
17
   */
18
  it('cmsTemplates.insertDebugtoolUtilities()', function() {
19
    var txt = cmsTemplates.insertDebugtoolUtilities('</body>', false);
20
    chai.expect(txt.length).to.above(10);
21
  });
22
});
23